package net.oschina.arvin.dbjava.model;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author Arvin
 * @time 2017/9/29 17:13
 */
public class JavaModelDescriptor {

    /** 包名 */
    private String packageName;

    /** 类注释 */
    private String comment;

    /** 类注释参数， 如author，time等等 */
    private Map<String, String> commentParamsMap = new HashMap<String, String>();

    /** 类的名称 */
    private String className;

    /** 导入的类的说明列表 */
    private List<ImportDescriptor> importList = new ArrayList<ImportDescriptor>();

    /** 属性描述列表列表 */
    private List<FieldDescriptor> fieldList = new ArrayList<FieldDescriptor>();

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Map<String, String> getCommentParamsMap() {
        return commentParamsMap;
    }

    public void setCommentParamsMap(Map<String, String> commentParamsMap) {
        this.commentParamsMap = commentParamsMap;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<ImportDescriptor> getImportList() {
        return importList;
    }

    public void setImportList(List<ImportDescriptor> importList) {
        this.importList = importList;
    }

    public List<FieldDescriptor> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<FieldDescriptor> fieldList) {
        this.fieldList = fieldList;
    }
}
